|
|
> IIRC Hugo meant _small_ change in POV-Ray sources ;-)
I do have a few questions to this:
Would a text file ever contain a null character (ascii value zero)
considering it's only text? A text file uses 0-9, A-Z, a-z, a few !"#&
signs, an invisible line break, and EOF.. There seems to be no need for a
null character.
On the other hand, if we are actually talking about 2 characters '\0' then
why not convert them to an ascii value that is never used in a text file?
Just as long as the C string can hold it. Then convert it back to \0 when
the user wants to read the string.
Regards,
Hugo
Post a reply to this message
|
|